.hot-details {
  display: flex;
  flex-direction: column;
  width: 750rpx;
  height: 100vh;
  background-color: #f4f4f4;
  position: relative;
  padding: 180rpx 0 0;
  .banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 230rpx;

    .image {
      height: 230rpx;
      border-radius: 0 0 40rpx 40rpx;
      overflow: hidden;
    }
  }
  .tabs-box {
    position: relative;
    display: flex;
    justify-content: space-evenly;
    width: 700rpx;
    margin: 0 25rpx;
    color: #333;
    height: 100rpx;
    line-height: 90rpx;
    border-radius: 10rpx;
    background-color: #fff;
    box-shadow: 0 4rpx 5rpx rgba(200, 200, 200, 0.3);
    z-index: 9;
    .tab-item {
      position: relative;
      flex: 1;
      text-align: center;
      font-size: 30rpx;
      .active {
        &::after {
          position: absolute;
          content: '';
          width: 40rpx;
          height: 4rpx;
          transform: translate(-50%);
          background-color: #27ba9b;
          position: absolute;
          left: 50%;
          bottom: 24rpx;
        }
      }
    }
  }
  .scroll-box {
    flex: 1;
    .goods {
      padding: 30rpx;
      display: flex;
      flex-wrap: wrap;
      .item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 340rpx;
        padding: 20rpx 10rpx 10rpx;
        background-color: #fff;
        margin-bottom: 20rpx;

        &:nth-child(odd) {
          margin-right: 10rpx;
        }

        &:last-child,
        &:nth-last-child(2) {
          margin-bottom: 0;
        }

        .image {
          width: 320rpx;
          height: 320rpx;
          border-radius: 10rpx;
        }
        .item-title {
          display: flex;
          height: 80rpx;
          font-size: 28rpx;
          display: -webkit-box;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
          overflow: hidden;
          text-overflow: ellipsis;
          .text {
            display: inline-block;
            width: 320rpx;
          }
        }
        .price {
          width: 100%;
          color: #cf4444;
          line-height: 60rpx;
          .symbol {
            font-size: 24rpx;
            margin-right: 2rpx;
          }
          .number {
            font-size: 32rpx;
          }
        }
      }
    }
    .info {
      font-size: 24rpx;
      text-align: center;
      margin: 20rpx 0;
    }
  }
}
